<%-- 
    Document   : registerUser
    Created on : 2011-dec-07, 17:32:29
    Author     : sa11
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Register User</title>
    </head>
    <body>
        <h1>Register new user</h1>
        <form action ="ProcessNewUser" method ="post">
            <p> your name: <input type = "textbox" name = "username" style = "text-align: left; "/></p>
            <p> your alias: <input type = "textbox" name = "alias"/></p>
            <p>password:<input type = "password" name = "password" style = "text-align: left"/></p>
            <p>retype password<input type = "password" name = "passwordRetype" style = "text-align: left"/></p>
            <input type = "submit" value = "submit"/>
        </form>
        <%if(request.getParameter("userAdded") != null){%>
        <p>user added</p>
            
        <%}%>
    </body>
</html>
